//
//  Deal.m
//  MeiTuan
//
//  Created by Ansen on 15-3-18.
//  Copyright (c) 2015年 Ansen. All rights reserved.
//

#import "Deal.h"
#import "MJExtension.h"

@implementation Deal
/**
 *  将属性名换为其他key去字典中取值
 *
 *  @return 字典中的key是属性名，value是从字典中取值用的key
 */
- (NSDictionary *)replacedKeyFromPropertyName
{
    return @{@"desc" : @"description"};
}
- (BOOL)isEqual:(Deal *)other
{
    return [self.deal_id isEqual:other.deal_id];
}
MJCodingImplementation;

@end
